package com.learn.jdk.caseDemo;

/**
 * @author: lipan
 * @date: 2021/5/6 20:04
 */

public class Person {


    private  String id;

    private String name;


    private String sex;


   public Person(){

   }

    @Override
    public String toString() {
        return "Person{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }

    public Person(String id, String name) {
        this.id = id;
        this.name = name;
    }


    public Person(String id, String name, String sex) {
        this.id = id;
        this.name = name;
        this.sex = sex;
    }
}
